package com.hlkj.pay.vo.pay.req;

import javax.validation.constraints.NotEmpty;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 通道字典表
* @TableName t_pay_channel_dict
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayChannelDictQueryReq extends BaseReq {
    /**
    * 渠道编码
    */
    @Schema(description ="渠道编码")
    @NotEmpty(message = "渠道编码必填")
    private String channelCode;
    /**
    * 字典key
    */
    @Schema(description ="字典key  certType:证件类型 licenseType:机构证照类型  companyType:公司类型 areaCode:区域 mccCategory:行业分类 受益方式:beneficiaryMode")
    @NotEmpty(message = "字典key必填")
    // @EnumValidString(value = PayEnums.DICT_KEY.class, message = "字典key 无效")
    private String dictKey;
    /**
    * 字典父key
    */
    @Schema(description ="字典父key")
    private String parentDictKey;
    /**
    * 字典层级 1 一级 2 二级 3 三级
    */
    @Schema(description ="字典层级 1 一级 2 二级 3 三级")
    private Integer dictLevel;
    /**
    * 属性值
    */
    @Schema(description ="属性值")
    private String dictValue;
    /**
    * 属性描述
    */
    @Schema(description ="属性描述")
    private String dictDesc;

    @Schema(description ="一级字典key 如省份 dictValue")
    private String firstLevelDictKey;
    @Schema(description ="二级字典key 如城市 dictValue")
    private String secondLevelDictKey;
    @Schema(description ="三级字典key 如区域 dictValue")
    private String threeLevelDictKey;


}
